<!--{include(pe_tpl('header_dialog.html'));}-->
<form method="post" id="form" autocomplete="off">
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="wenzhang_border">
<!--{foreach(array(1=>'①', 2=>'②', 3=>'③', 4=>'④', 5=>'⑤', 6=>'⑥', 7=>'⑦', 8=>'⑧', 9=>'⑨', 10=>'⑩') as $k=>$v):}-->
<tr>
	<td class="bgtt" width="150">卡密信息{$v}：</td>
	<td><input type="text" name="prokey_value[{$k}]" class="inputall input300 mar10" />
		有效期至：<input type="text" name="prokey_edate[{$k}]" onfocus="WdatePicker({dateFmt:'yyyy-MM-dd'})" class="Wdate inputall" style="width:120px" />	
	</td>
</tr>
<!--{endforeach}-->
</table>
<div style="height:60px"></div>
<div class="right_bottom center">
	<input type="hidden" name="pe_token" value="{$pe_token}" />
	<input type="hidden" name="pesubmit" value="{$pe_token}" />
	<input type="button" value="提 交" class="tjbtn">
</div>
</form>
<script type="text/javascript" src="{$pe['host']}include/plugin/my97/WdatePicker.js"></script>
<script type="text/javascript">
$(function(){
	$(":button").click(function(){
		pe_submit("admin.php?mod=prokey&act=add&id={$product_id}", function(json){
			if (json.code == 1) {
				pe_open('dialog', 1000, pe_getval('prokey_list'));
			}
		});
	})
})
</script>
<!--{include(pe_tpl('footer_dialog.html'));}-->